<!--Author: @ngel Sullon Macalupu-->
<html>
<head>
	<title>Logout</title>
</head>

<body onLoad="selfp()">

<h3>Cerrando sesi&oacute;n</h3>

<?php
session_start();
	//php.ini activar session.auto_start = 1
    session_destroy();
 ?>
<meta http-equiv="Refresh" content="1; URL=index.php">
</body>
</html>
<script type="text/javascript">
<!--
caducarPagina(true);
function caducarPagina(on){
	window.onbeforeunload = (on) ? cargarPagina : null;
}
function cargarPagina(){
		window.location.href=".";
	//navigator.ClearHistory;
		caducarPagina(false);
}
function click(){
	if (event.button==2){
		window.close() ; 
	}
}
document.onmousedown=click
//-->
</script>
<script type="text/javascript">
<!--
function selfp() 
{

 /*if (self.parent.frames.length != 0) self.parent.location=document.location.href; */
}
function click(){
	if (event.button==2){
		window.close() ; 
	}
}
//-->
</script>